﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IStateMachine.cs" company="melcoprog">
//   Copyright (c) melcoprog. All rights reserved.
// </copyright>
// <summary>
//   Defines the IStateMachine type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Creature
{
    /// <summary>
    /// The StateMachine interface.
    /// </summary>
    public interface IStateMachine
    {
        /// <summary>
        /// The get next state.
        /// </summary>
        /// <param name="creature">
        /// The creature.
        /// </param>
        /// <returns>
        /// The <see cref="ICreatureState"/>.
        /// </returns>
        ICreatureState GetNextState(Creature creature);
    }
}
